package com.example.demo.service.Impl;

import com.example.demo.common.domain.*;
import com.example.demo.service.EmployeeService;
import com.example.demo.service.LeaveService;
import com.example.demo.service.ManagerService;
import com.example.demo.service.MangerAble;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;
@Service
public class GeneralManagerServiceImpl extends ManagerService {

    private static GeneralManager generalManager = new GeneralManager(1,"王经理");
    public GeneralManager getGeneralInstance(){
        return generalManager;
    }

    @Autowired
    private LeaveService leaveService;


    @Override
    public void agreeLeaveItem(Integer lid) {

    }

    @Override
    public Manager getMangerInstance() throws Exception {
        return null;
    }
}
